package www.Demo.array;
import java.util.Arrays;
public class Demo3 {
    public static void main(String[] args) {
        int[] array = new int[10];
        int i=0;
        while(i<array.length) {
            array[i] = (int)(Math.random()*10+1);
            i++;
        }
        System.out.println(Arrays.toString(array));
    }
}
